Bickley Jet

The deeptime.data.bickley_jet() dataset.

 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 # sphinx_gallery_thumbnail_number = 1

 import matplotlib.pyplot as plt
 import numpy as np

 from deeptime.data import bickley_jet

 n_particles = 250
 dataset = bickley_jet(n_particles, n_jobs=8)
 c = np.copy(dataset[0, :, 0])
 c /= c.max()

 fig, ax = plt.subplots(1, 1, figsize=(6, 4))
 ani = dataset.make_animation(c=c, agg_backend=False, interval=75, fig=fig, ax=ax, max_frame=100)

Total running time of the script: ( 0 minutes 13.269 seconds)

Estimated memory usage: 9 MB

Gallery generated by Sphinx-Gallery